package com.xiaomi.mappers;

import com.xiaomi.domain.UserEntity;

import java.util.List;

public interface UserMapper {
    List<UserEntity> findPageUsers();

    int deleteUsersById(String[] ids);

    int updateManager(String uid,Integer manager);

    UserEntity getUserByPhone(String phone);

    int isRegister(String phone, String userName);

    int register(UserEntity user);

    UserEntity getUserByUsernamePwd(String username, String password);
}
